package org.dreamwork.persistence.hibernate.finder.impl;

import org.dreamwork.persistence.hibernate.finder.IFinderArgumentTypeFactory;
import org.hibernate.type.Type;

/**
 * Maps Enums to a custom Hibernate user type
 */
public class SimpleFinderArgumentTypeFactory implements IFinderArgumentTypeFactory {
    public Type getArgumentType (Object arg) {
//        if(arg instanceof Enum)
//        {
//            return getEnumType(arg.getClass());
//        }
//        else
//        {
        return null;
//        }
    }
}
